<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Taskflow QuickStart</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://taskflow.github.io"><img src="taskflow_logo.png" alt="" />Taskflow</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">QuickStart</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html" id="m-navbar-current">Handbook</a></li>
            <li><a href="namespaces.html">Namespaces</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>Pages</h1>
        <ul class="m-doc">
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Releases.html" class="m-doc">Release Notes</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="release-roadmap.html" class="m-doc">Release Roadmap</a> <span class="m-doc"></span></li>
              <li><a href="release-3-7-0.html" class="m-doc">Release 3.7.0 (Master)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-6-0.html" class="m-doc">Release 3.6.0 (2023/05/07)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-5-0.html" class="m-doc">Release 3.5.0 (2023/01/05)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-4-0.html" class="m-doc">Release 3.4.0 (2022/05/23)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-3-0.html" class="m-doc">Release 3.3.0 (2022/01/03)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-2-0.html" class="m-doc">Release 3.2.0 (2021/07/29)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-1-0.html" class="m-doc">Release 3.1.0 (2021/04/14)</a> <span class="m-doc"></span></li>
              <li><a href="release-3-0-0.html" class="m-doc">Release 3.0.0 (2021/01/01)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-7-0.html" class="m-doc">Release 2.7.0 (2020/10/01)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-6-0.html" class="m-doc">Release 2.6.0 (2020/08/25)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-5-0.html" class="m-doc">Release 2.5.0 (2020/06/01)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-4-0.html" class="m-doc">Release 2.4.0 (2020/03/25)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-3-1.html" class="m-doc">Release 2.3.1 (2020/03/13)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-3-0.html" class="m-doc">Release 2.3.0 (2020/02/27)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-2-0.html" class="m-doc">Release 2.2.0 (2019/06/15)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-1-0.html" class="m-doc">Release 2.1.0 (2019/02/15)</a> <span class="m-doc"></span></li>
              <li><a href="release-2-0-0.html" class="m-doc">Release 2.0.0 (2018/08/28)</a> <span class="m-doc"></span></li>
              <li><a href="release-1-x-x.html" class="m-doc">Release 1.x.x (before 2018)</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="install.html" class="m-doc">Building and Installing</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="CompileTaskflowWithCUDA.html" class="m-doc">Compile Taskflow with CUDA</a> <span class="m-doc"></span></li>
              <li><a href="BenchmarkTaskflow.html" class="m-doc">Benchmark Taskflow</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Cookbook.html" class="m-doc">Cookbook</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="ProjectMotivation.html" class="m-doc">Project Motivation</a> <span class="m-doc"></span></li>
              <li><a href="StaticTasking.html" class="m-doc">Static Tasking</a> <span class="m-doc"></span></li>
              <li><a href="ExecuteTaskflow.html" class="m-doc">Executor</a> <span class="m-doc"></span></li>
              <li><a href="SubflowTasking.html" class="m-doc">Subflow Tasking</a> <span class="m-doc"></span></li>
              <li><a href="ConditionalTasking.html" class="m-doc">Conditional Tasking</a> <span class="m-doc"></span></li>
              <li><a href="ComposableTasking.html" class="m-doc">Composable Tasking</a> <span class="m-doc"></span></li>
              <li><a href="AsyncTasking.html" class="m-doc">Asynchronous Tasking</a> <span class="m-doc"></span></li>
              <li><a href="DependentAsyncTasking.html" class="m-doc">Asynchronous Tasking with Dependencies</a> <span class="m-doc"></span></li>
              <li><a href="RuntimeTasking.html" class="m-doc">Interact with the Runtime</a> <span class="m-doc"></span></li>
              <li><a href="PrioritizedTasking.html" class="m-doc">Prioritized Tasking</a> <span class="m-doc"></span></li>
              <li><a href="ExceptionHandling.html" class="m-doc">Exception Handling</a> <span class="m-doc"></span></li>
              <li><a href="GPUTaskingcudaFlow.html" class="m-doc">GPU Tasking (cudaFlow)</a> <span class="m-doc"></span></li>
              <li><a href="GPUTaskingcudaFlowCapturer.html" class="m-doc">GPU Tasking (cudaFlowCapturer)</a> <span class="m-doc"></span></li>
              <li><a href="LimitTheMaximumConcurrency.html" class="m-doc">Limit the Maximum Concurrency</a> <span class="m-doc"></span></li>
              <li><a href="RequestCancellation.html" class="m-doc">Request Cancellation</a> <span class="m-doc"></span></li>
              <li><a href="Profiler.html" class="m-doc">Profile Taskflow Programs</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Algorithms.html" class="m-doc">Taskflow Algorithms</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="PartitioningAlgorithm.html" class="m-doc">Partitioning Algorithm</a> <span class="m-doc"></span></li>
              <li><a href="ParallelIterations.html" class="m-doc">Parallel Iterations</a> <span class="m-doc"></span></li>
              <li><a href="ParallelTransforms.html" class="m-doc">Parallel Transforms</a> <span class="m-doc"></span></li>
              <li><a href="ParallelReduction.html" class="m-doc">Parallel Reduction</a> <span class="m-doc"></span></li>
              <li><a href="ParallelSort.html" class="m-doc">Parallel Sort</a> <span class="m-doc"></span></li>
              <li><a href="ParallelScan.html" class="m-doc">Parallel Scan</a> <span class="m-doc"></span></li>
              <li><a href="ParallelFind.html" class="m-doc">Parallel Find</a> <span class="m-doc"></span></li>
              <li><a href="TaskParallelPipeline.html" class="m-doc">Task-parallel Pipeline</a> <span class="m-doc"></span></li>
              <li><a href="TaskParallelScalablePipeline.html" class="m-doc">Task-parallel Scalable Pipeline</a> <span class="m-doc"></span></li>
              <li><a href="TaskParallelPipelineWithTokenDependencies.html" class="m-doc">Task-parallel Pipeline with Token Dependencies</a> <span class="m-doc"></span></li>
              <li><a href="DataParallelPipeline.html" class="m-doc">Data-parallel Pipeline</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="cudaFlowAlgorithms.html" class="m-doc">cudaFlow Algorithms</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="SingleTaskCUDA.html" class="m-doc">Single Task</a> <span class="m-doc"></span></li>
              <li><a href="ForEachCUDA.html" class="m-doc">Parallel Iterations</a> <span class="m-doc"></span></li>
              <li><a href="ParallelTransformsCUDA.html" class="m-doc">Parallel Transforms</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="cudaStandardAlgorithms.html" class="m-doc">CUDA Standard Algorithms</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="CUDASTDExecutionPolicy.html" class="m-doc">Execution Policy</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDSingleTask.html" class="m-doc">Single Task</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDForEach.html" class="m-doc">Parallel Iterations</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDTransform.html" class="m-doc">Parallel Transforms</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDReduce.html" class="m-doc">Parallel Reduction</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDScan.html" class="m-doc">Parallel Scan</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDMerge.html" class="m-doc">Parallel Merge</a> <span class="m-doc"></span></li>
              <li><a href="CUDASTDFind.html" class="m-doc">Parallel Find</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Examples.html" class="m-doc">Learning from Examples</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="wavefront.html" class="m-doc">Wavefront Parallelism</a> <span class="m-doc"></span></li>
              <li><a href="fibonacci.html" class="m-doc">Fibonacci Number</a> <span class="m-doc"></span></li>
              <li><a href="flipcoins.html" class="m-doc">Flip Coins</a> <span class="m-doc"></span></li>
              <li><a href="graphtraversal.html" class="m-doc">Graph Traversal</a> <span class="m-doc"></span></li>
              <li><a href="matrix_multiplication.html" class="m-doc">Matrix Multiplication</a> <span class="m-doc"></span></li>
              <li><a href="matrix_multiplication_cudaflow.html" class="m-doc">Matrix Multiplication (cudaFlow)</a> <span class="m-doc"></span></li>
              <li><a href="kmeans.html" class="m-doc">k-means Clustering</a> <span class="m-doc"></span></li>
              <li><a href="kmeans_cudaflow.html" class="m-doc">k-means Clustering (cudaFlow)</a> <span class="m-doc"></span></li>
              <li><a href="TextProcessingPipeline.html" class="m-doc">Text Processing Pipeline</a> <span class="m-doc"></span></li>
              <li><a href="GraphProcessingPipeline.html" class="m-doc">Graph Processing Pipeline</a> <span class="m-doc"></span></li>
              <li><a href="TaskflowProcessingPipeline.html" class="m-doc">Taskflow Processing Pipeline</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="usecases.html" class="m-doc">Real Use Cases</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="opentimer.html" class="m-doc">Static Timing Analysis</a> <span class="m-doc"></span></li>
              <li><a href="dreamplace.html" class="m-doc">Standard Cell Placement</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Contributing.html" class="m-doc">Contributing</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="guidelines.html" class="m-doc">Guidelines</a> <span class="m-doc"></span></li>
              <li><a href="contributors.html" class="m-doc">Contributors</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li class="m-doc-collapsible">
            <a href="#" onclick="return toggle(this)"></a><a href="Governance.html" class="m-doc">Governance</a> <span class="m-doc"></span>
            <ul class="m-doc">
              <li><a href="rules.html" class="m-doc">Rules</a> <span class="m-doc"></span></li>
              <li><a href="team.html" class="m-doc">Team</a> <span class="m-doc"></span></li>
              <li><a href="codeofconduct.html" class="m-doc">Code of Conduct</a> <span class="m-doc"></span></li>
            </ul>
          </li>
          <li><a href="FAQ.html" class="m-doc">Frequently Asked Questions</a> <span class="m-doc"></span></li>
          <li><a href="References.html" class="m-doc">References</a> <span class="m-doc"></span></li>
        </ul>
        <script>
        function toggle(e) {
            e.parentElement.className = e.parentElement.className == 'm-doc-collapsible' ?
                'm-doc-expansible' : 'm-doc-collapsible';
            return false;
        }
        /* Collapse all nodes marked as such. Doing it via JS instead of
           directly in markup so disabling it doesn't harm usability. The list
           is somehow regenerated on every iteration and shrinks as I change
           the classes. It's not documented anywhere and I'm not sure if this
           is the same across browsers, so I am going backwards in that list to
           be sure. */
        var collapsed = document.getElementsByClassName("collapsed");
        for(var i = collapsed.length - 1; i >= 0; --i)
            collapsed[i].className = 'm-doc-expansible';
        </script>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Taskflow handbook is part of the <a href="https://taskflow.github.io">Taskflow project</a>, copyright © <a href="https://tsung-wei-huang.github.io/">Dr. Tsung-Wei Huang</a>, 2018&ndash;2023.<br />Generated by <a href="https://doxygen.org/">Doxygen</a> 1.9.1 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
